gtk: Add kinetic scrolling helper
authorLieven van der Heide <lievenvanderheide@gmail.com>
Mon, 26 May 2014 16:13:29 +0000 (18:13 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 5 Jun 2014 14:49:23 +0000 (16:49 +0200)
commitc7262268254bca8518197ec82ac9855571ff6d88
tree6ac7df06e55f0f47b699965610c5b3e2a18909b5
parent3ffb4fa6993c461a591a250ab96d09ddae6de8d0
gtk: Add kinetic scrolling helper

GtkKineticScrolling implements the actual physics laws for friction
and springs. When created, position/velocity/boundaries/constants are
given, so at every gtk_kinetic_scrolling_tick() it returns the current
position, and whether the system is in rest.

https://bugzilla.gnome.org/show_bug.cgi?id=729608
gtk/Makefile.am
gtk/gtkkineticscrolling.c [new file with mode: 0644]
gtk/gtkkineticscrolling.h [new file with mode: 0644]